<?php
@session_start();
while(isset($_SESSION['admin']))
{
    unset($_SESSION['admin']);
	if(isset($_COOKIE[session_name()]))
	{
	    setcookie(session_name(),'');
	}
	session_destroy();
}

echo "<script>location.href='../';</script>";

?>